package edu.tsinghua.eea.powermanagement.enums;

public class PlugStatusEnums {
	public enum SFLAG {
		NotAvailable, Open, Close;
		public static SFLAG get(int i){
			if(i<0 || i>=SFLAG.values().length)
				return null;
			return SFLAG.values()[i];
		}
	};
	public enum CFLAG {
		NoOperation, Open, Close;
		public static CFLAG get(int i){
			if(i<0 || i>=CFLAG.values().length)
				return null;
			return CFLAG.values()[i];
		}
	};
}
